package com.three.dao;

import java.util.List;

import com.three.entity.Announce;


public interface AnnounceDao {

	public List<Announce> findAnnouncesByCid(Integer cid);
	
	public int addAnnounce(Announce ann);
	
	public int deleteAnnouncesByCid(Integer cid);
	
	public int deleteAnnouncesByAid(Integer aid);
	
	public int updateAnnounce(Integer aid,String title,String content);
	
	public int findLastInsertIdByCid(Integer cid);
	
}
